package com.csjung.games.gamenori.client.event;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;

public class UserListRefreshEvent extends GwtEvent<UserListRefreshEvent.Handler> {

  /**
   * Handler for {@link UserListRefreshEvent}.
   */
  public interface Handler extends EventHandler {
  
    void onUserListRefresh(UserListRefreshEvent event);
  }
  
  public static final Type<UserListRefreshEvent.Handler> TYPE = new Type<UserListRefreshEvent.Handler>();

  @Override
  public com.google.gwt.event.shared.GwtEvent.Type<Handler> getAssociatedType() {
    return TYPE;
  }

  @Override
  protected void dispatch(Handler handler) {
    handler.onUserListRefresh(this);
  }
}
